package com.yigerende.service.impl;

import com.yigerende.dao.UserDao;
import com.yigerende.pojo.Account;
import com.yigerende.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public Account login(String username, String password) {
        return userDao.login(username, password);
    }
}
